﻿
using Windows.Foundation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace MetroNextTools.NData
{
    public interface INScrollInfo
    {
        bool CanVerticallyScroll
        {
            get;
            set;
        }
        bool CanHorizontallyScroll
        {
            get;
            set;
        }
        double ExtentWidth
        {
            get;
        }
        double ExtentHeight
        {
            get;
        }
        double ViewportWidth
        {
            get;
        }
        double ViewportHeight
        {
            get;
        }
        double HorizontalOffset
        {
            get;
        }
        double VerticalOffset
        {
            get;
        }

        ScrollViewer ScrollOwner
        {
            get;
            set;
        }
        void LineUp();
        void LineDown();
        void LineLeft();
        void LineRight();
        void PageUp();
        void PageDown();
        void PageLeft();
        void PageRight();
        void MouseWheelUp();
        void MouseWheelDown();
        void MouseWheelLeft();
        void MouseWheelRight();
        void SetHorizontalOffset(double offset);
        void SetVerticalOffset(double offset);
        Rect MakeVisible(UIElement visual, Rect rectangle);
    }
}
